//
//  HMEmotionAttachment.swift
//  01-表情
//
//  Created by mac on 15/10/27.
//  Copyright © 2015年 itheima. All rights reserved.
//

import UIKit

class HMEmotionAttachment: NSTextAttachment {
    // 表情模型
    var emoticon: HMEmoticon
    init(emoticon: HMEmoticon) {
        self.emoticon = emoticon
        super.init(data: nil, ofType: nil)
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}
